// Package dto
// @Author: zhangdi
// @File: clips
// @Version: 1.0.0
// @Date: 2023/5/25 11:37
package dbdto

import "time"

type ClipboardAdd struct {
	Content string `gorm:"not null" json:"content"`
}

type ClipboardInfo struct {
	Id        uint      `gorm:"primaryKey"  json:"id"`
	Content   string    `gorm:"not null" json:"content"`
	From      string    `gorm:"default:'User'" json:"from,omitempty"`
	CreatedAt time.Time `json:"created_at"`
}

type ClipboardSelect struct {
	List     []*ClipboardInfo `json:"list"`
	Total    int64            `json:"total"`
	CurrPage int              `json:"curr_page"`
	PageSize int              `json:"page_size"`
}
